package com.ants.order.feign;

import com.ants.common.product.Product;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 蚂蚁会花呗
 * @create 2025/5/22 11:03
 */
@FeignClient("ants-product")
public interface FeignProductService {

    @GetMapping("/ants-product-dev/product/{pid}")
    Product getEntity(@PathVariable("pid") Integer pid);
}
